<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="http://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet" type="text/css">
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/testapp.css" />
    <title>Surveys</title>
  </head>
  <body>
    <a href="create">Create a survey</a>
    <h1>Surveys</h1>
    <!-- {% if surveys %} -->
    <div class="surveys">
      {% for survey in surveys %}
      <div class="survey">
	<h2>{{ survey.title }}</h2>
	<ul>
	  {% for question in survey.questions %}
	  <li>{{ question }}</li>
	  {% endfor %}
	</ul>
      </div>
      {% endfor %}
    </div>
    <!-- {% endif %} -->
  </body>
</html>
